//
//  FlyDatePickerView.h
//  MedicalProject
//
//  Created by lifayu on 16/12/28.
//  Copyright © 2016年 贵阳飞云科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^Completionblock)(NSDate * date);

@interface FlyDatePickerView : UIView

@property (nonatomic,strong) Completionblock block;

@property (weak, nonatomic) IBOutlet UIDatePicker *datePickerView;

+ (void)showInView:(UIView *)view dateModel:(UIDatePickerMode)datePickerModel completionBlock:(Completionblock)block;

+ (void)showInView:(UIView *)view dateModel:(UIDatePickerMode)datePickerModel maxDate:(NSDate *)maxDate minDate:(NSDate *)minDate completionBlock:(Completionblock)block;

@end
